package com.wlgc.service.impl;

import com.wlgc.mapper.ClassMapper;
import com.wlgc.service.ClassService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ClassServiceImpl implements ClassService {
    @Resource
    ClassMapper classMapper;

    @Override
    public List<String> getAllCno() {
        return classMapper.getAllCno();
    }

    @Override
    public List<Integer> getCnoByCourseName(String courseName) {
        return classMapper.getCnoByCourseName(courseName);
    }
}
